
package com.gitee.flow.mapper;

import com.crenjoy.proto.mapper.BeanMapper;
import com.crenjoy.proto.mapper.ProtoMapper;
import java.util.List;
import jmash.flow.protobuf.TaskAttachmentModel;
import org.flowable.engine.task.Attachment;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * TaskAttachmentMapper.
 *
 * @author <a href="mailto:service@crenjoy.com">crenjoy</a>
 */
@Mapper
public interface TaskAttachmentMapper extends BeanMapper,ProtoMapper {

  TaskAttachmentMapper INSTANCE = Mappers.getMapper(TaskAttachmentMapper.class);
  
  List<TaskAttachmentModel> listTaskAttachment(List<Attachment> list);

  TaskAttachmentModel model(Attachment entity);
  
}
